<!--
报告管理-视频上传
 add by yyp 2020-03-14
-->
<template lang="pug">
  keep-alive
    kalix-table(bizKey="Reportvideo" title='视频上传' ref="kalixTable"
    v-bind:tableFields="tableFields"
    v-bind:targetURL="ReportVideoURL"
    v-bind:bizDialog="reportVideoDialog"
    v-bind:btnList="reportVideoBtnList"
    v-bind:toolbarBtnList="toolbarBtnList"
    bizSearch="reportVideoSearch")
      template(slot="tableColumnSlot")
        el-table-column(prop="rId" label="关联报告id" align="center")
        el-table-column(prop="videoUrl" label="视频地址" align="center")
</template>

<script type="text/ecmascript-6">
  import {ReportVideoURL} from '../../config.toml'
  import {reportVideoConfigBtnList} from './config'
  import KalixTable from '../../../../../components/corelib/components/common/baseTable'

  export default {
    name: 'kalix-telemedicine-reportvideos',
    components: {KalixTable},
    data() {
      return {
        ReportVideoURL: ReportVideoURL,
        tableFields: [
          {prop: 'rId', label: '关联报告id'},
          {prop: 'videoUrl', label: '医院地址'}
        ],
        reportVideoDialog: [
          {id: 'add', dialog: 'reportVideoAdd'},
          {id: 'edit', dialog: 'reportVideoEdit'},
          {id: 'view', dialog: 'reportVideoView'}
        ],
        reportVideoBtnList: reportVideoConfigBtnList,
        toolbarBtnList: [
          {id: 'add', isShow: true, title: '添加', icon: 'icon-pinleizengjia', isPermission: true}
        ]
      }
    }
  }
</script>

<style scoped lang="stylus">

</style>
